export let tableOption=[{
            title: 'ID',
            key: 'id',
            width:'80'
            // sortable: true
          },
          {
            title: '订单号',
            key: 'order_no',
             width:'200'
          },
          {
            title: '运动卡',
            key: 'name',
                align:'right',
                 width:'150'
          },
          {
            title: '姓名',
            key: 'username'
          },
          {
            title: '电话',
            key: 'mobile'
          },
          {
            title: '金额(元)',
            key: 'amount',
            align:'right'
          },
          {
            title: '赠送金额(元)',
            key: 'give_amount',
                align:'right'
          },

          {
            title: '付款状态',
            key: 'pay_estate',
            render: (h, params) => {
              let pay_estate = params.row.pay_estate;
              let pay_estate_text = '';
              switch (pay_estate) {
                case 0:
                  pay_estate_text = '待支付'
                  break;
                case 1:
                  pay_estate_text = '已支付'
                  break;

                default:
                  '-'
              }

              return h('span', {
                style: {
                  color: '#ff6600'
                }
              }, pay_estate_text)
            }

          },
         {
           title: '订单状态',
           key: 'order_estate',
           render: (h, params) => {
             let order_estate = params.row.order_estate;
             let order_text = '';
             switch (order_estate) {
               case 0:
                 order_text = '未充值'
                 break;
               case 1:
                 order_text = '已充值'
                 break;

               default:
                 '-'
             }

             return h('span', {
               style: {
                 color: '#ff6600'
               }
             }, order_text)
           }

         },

          {
            title: '购买时间',
            key: 'create_time'
          },
          {
            title: '操作',
            slot: 'action',
            width: 70,
            align: 'center',

          }
        ]
